package com.drinks.yiniang.entity.user.milepost;

import java.util.List;

/**
 * 酒类分析
 * @author han
 * @date 2019/11/14
 */
public class WineAnalyseJson {

    private WineAnalyseData data;

    public WineAnalyseData getData() {
        return data;
    }

    public void setData(WineAnalyseData data) {
        this.data = data;
    }

    public static class WineAnalyseData {
        private String username;
        private String avatar;
        //消费酒瓶数
        private String consume_wine;
        //统计数据 分类前五个
        private List<WineAnalyseList> statistics;

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getConsume_wine() {
            return consume_wine;
        }

        public void setConsume_wine(String consume_wine) {
            this.consume_wine = consume_wine;
        }

        public List<WineAnalyseList> getStatistics() {
            return statistics;
        }

        public void setStatistics(List<WineAnalyseList> statistics) {
            this.statistics = statistics;
        }
    }

    public static class WineAnalyseList {
        //分类ID
        private String id;
        private String name;
        //数量
        private String total;
        //分类下的风格数据 前三个
        private List<WineAnalyseStyles> styles;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public List<WineAnalyseStyles> getStyles() {
            return styles;
        }

        public void setStyles(List<WineAnalyseStyles> styles) {
            this.styles = styles;
        }
    }

    public static class WineAnalyseStyles {
        //风格ID
        private String id;
        //风格名称
        private String name;
        //数量
        private String num;
        //所占百分比
        private String percent;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public String getPercent() {
            return percent;
        }

        public void setPercent(String percent) {
            this.percent = percent;
        }
    }
}
